package com.dashu.core.model;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Table(name = "ds_permission_rule")
@Data
public class PermissionRule implements Serializable {

    /**
     * 权限规则属性
     */
    @Id
    private long id; //主键id
    private long createTime;//创建时间
    private long createUser;// 创建者
    private long updateTime;//更新时间
    private long updateUser;//更新者
    private long ruleType;  //规则类型
    private long ruleStatus;//规则状态
    private long baseId;  //归属
    private String ruleName;  //规则名称
    private String ruleDevice;  //设备规则内容
    private String ruleAttendance;  //考勤规则内容
    private String rulePersonnel;  //人员规则内容
    private String ruleSystem;  //系统规则内容
    private String ruleTeaching;  //教务规则内容
    private String ruleRoot; //主体规则内容
}
